package Tracker.server.control;

import org.json.JSONException;
import org.json.JSONObject;

import Tracker.server.model.TError;

public class InvalidController {
	ProtocolHandler handler;
	
	public InvalidController(ProtocolHandler h) {
		this.handler = h;
	}
	
	public void parse(JSONObject req, JSONObject res) throws JSONException {
		res.append("success", new Boolean(false));
		res.append("error", new TError("Invalid Command", 404));
	}
}
